package com.kkwrite.regimen.provider;

import com.kkwrite.regimen.provider.stream.StreamInputAndOutput;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Regimen 服务提供者
 * @author Ke.Wang
 * @date 2018年7月5日 下午7:59:57
 */
@SpringBootApplication
@EnableEurekaClient
@EnableTransactionManagement
@EnableHystrix
@EnableScheduling
@EnableCaching
@EnableBinding(StreamInputAndOutput.class)
public class RegProviderApp {

	public static void main(String[] args) {
		SpringApplication.run(RegProviderApp.class, args);
	}

}
